home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / gpt32src.zip / SETSHOW.H < prev    next >
C/C++ Source or Header  |  1992-03-25  |  4KB  |  142 lines

  1. /*
  2.  * $Id: setshow.h,v 3.26 92/03/24 22:34:15 woo Exp Locker: woo $
  3.  *
  4.  */
  5.  
  6. /* GNUPLOT - setshow.h */
  7. /*
  8.  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  9.  *
  10.  * Permission to use, copy, and distribute this software and its
  11.  * documentation for any purpose with or without fee is hereby granted, 
  12.  * provided that the above copyright notice appear in all copies and 
  13.  * that both that copyright notice and this permission notice appear 
  14.  * in supporting documentation.
  15.  *
  16.  * Permission to modify the software is granted, but not the right to
  17.  * distribute the modified code.  Modifications are to be distributed 
  18.  * as patches to released version.
  19.  *  
  20.  * This software is provided "as is" without express or implied warranty.
  21.  * 
  22.  *
  23.  * AUTHORS
  24.  * 
  25.  *   Original Software:
  26.  *     Thomas Williams,  Colin Kelley.
  27.  * 
  28.  *   Gnuplot 2.0 additions:
  29.  *       Russell Lang, Dave Kotz, John Campbell.
  30.  *
  31.  *   Gnuplot 3.0 additions:
  32.  *       Gershon Elber and many others.
  33.  * 
  34.  * Send your comments or suggestions to 
  35.  *  info-gnuplot@ames.arc.nasa.gov.
  36.  * This is a mailing list; to join it send a note to 
  37.  *  info-gnuplot-request@ames.arc.nasa.gov.  
  38.  * Send bug reports to
  39.  *  bug-gnuplot@ames.arc.nasa.gov.
  40.  */
  41.  
  42. /*
  43.  * global variables to hold status of 'set' options
  44.  *
  45.  */
  46. extern BOOLEAN            autoscale_r;
  47. extern BOOLEAN            autoscale_t;
  48. extern BOOLEAN            autoscale_u;
  49. extern BOOLEAN            autoscale_v;
  50. extern BOOLEAN            autoscale_x;
  51. extern BOOLEAN            autoscale_y;
  52. extern BOOLEAN            autoscale_z;
  53. extern BOOLEAN            autoscale_lt;
  54. extern BOOLEAN            autoscale_lu;
  55. extern BOOLEAN            autoscale_lv;
  56. extern BOOLEAN            autoscale_lx;
  57. extern BOOLEAN            autoscale_ly;
  58. extern BOOLEAN            autoscale_lz;
  59. extern BOOLEAN            clip_points;
  60. extern BOOLEAN            clip_lines1;
  61. extern BOOLEAN            clip_lines2;
  62. extern BOOLEAN            draw_border;
  63. extern BOOLEAN            draw_surface;
  64. extern BOOLEAN            timedate;
  65. extern char            dummy_var[MAX_NUM_VAR][MAX_ID_LEN+1];
  66. extern char            xformat[];
  67. extern char            yformat[];
  68. extern char            zformat[];
  69. extern enum PLOT_STYLE data_style, func_style;
  70. extern BOOLEAN            grid;
  71. extern int            key;
  72. extern double            key_x, key_y, key_z; /* user specified position for key */
  73. extern BOOLEAN            log_x, log_y, log_z;
  74. extern FILE*            outfile;
  75. extern char            outstr[];
  76. extern BOOLEAN            parametric;
  77. extern BOOLEAN            polar;
  78. extern BOOLEAN            hidden3d;
  79. extern int            angles_format;
  80. extern int            mapping3d;
  81. extern int            samples;
  82. extern int            iso_samples;
  83. extern float            xsize; /* scale factor for size */
  84. extern float            ysize; /* scale factor for size */
  85. extern float            zsize; /* scale factor for size */
  86. extern float            surface_rot_z;
  87. extern float            surface_rot_x;
  88. extern float            surface_scale;
  89. extern float            surface_zscale;
  90. extern int            term; /* unknown term is 0 */
  91. extern char            term_options[];
  92. extern char            title[];
  93. extern char            xlabel[];
  94. extern char            ylabel[];
  95. extern char            zlabel[];
  96. extern int            time_xoffset;
  97. extern int            time_yoffset;
  98. extern int            title_xoffset;
  99. extern int            title_yoffset;
  100. extern int            xlabel_xoffset;
  101. extern int            xlabel_yoffset;
  102. extern int            ylabel_xoffset;
  103. extern int            ylabel_yoffset;
  104. extern int            zlabel_xoffset;
  105. extern int            zlabel_yoffset;
  106. extern double            rmin, rmax;
  107. extern double            tmin, tmax, umin, umax, vmin, vmax;
  108. extern double            xmin, xmax, ymin, ymax, zmin, zmax;
  109. extern double            loff, roff, toff, boff;
  110. extern int            draw_contour;
  111. extern int            contour_pts;
  112. extern int            contour_kind;
  113. extern int            contour_order;
  114. extern int            contour_levels;
  115. extern double            zero; /* zero threshold, not 0! */
  116.  
  117. extern BOOLEAN xzeroaxis;
  118. extern BOOLEAN yzeroaxis;
  119.  
  120. extern BOOLEAN xtics;
  121. extern BOOLEAN ytics;
  122. extern BOOLEAN ztics;
  123.  
  124. extern float ticslevel;
  125.  
  126. extern struct ticdef xticdef;
  127. extern struct ticdef yticdef;
  128. extern struct ticdef zticdef;
  129.  
  130. extern BOOLEAN            tic_in;
  131.  
  132. extern struct text_label *first_label;
  133. extern struct arrow_def *first_arrow;
  134.  
  135. /* The set and show commands, in setshow.c */
  136. extern void set_command();
  137. extern void show_command();
  138. /* and some accessible support functions */
  139. extern enum PLOT_STYLE get_style();
  140. extern BOOLEAN load_range();
  141. extern void show_version();
  142.